package com.socialuni.sdk.api;

import com.socialuni.sdk.api.model.ResultRO;
import com.socialuni.sdk.model.RO.HomeSwiperVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@RequestMapping("socialuni/app")
@FeignClient(name = "app", url = "${social.server-url:https://api.socialuni.com}")
public interface AppAPI extends FeignAPI {
    //    @PostMapping("queryTalks")
    @GetMapping("queryHomeSwipers")
    ResultRO<List<HomeSwiperVO>> queryHomeSwipers();
}